function AddFavorite(sURL, sTitle){    
    try{    
        window.external.addFavorite(sURL, sTitle);    
    }    
    catch(e){    
        try{    
            window.sidebar.addPanel(sTitle, sURL, "");    
        }    
        catch(e){    
            alert("收藏失败，请按Ctrl+D添加收藏");    
        }    
    }    
}    